package userTag

import org.springframework.cloud.contract.spec.Contract

Contract.make {
    request {
        method "PUT"
        url value(consumer("api/programs/\\d+/students/\\d+/tags/\\d+"),
                producer("api/programs/1/students/1/tags/1"))
        headers {
            contentType(applicationJsonUtf8())
            header("id",1)
        }
    }
    response {
        status 204
    }
}
